import getlink from "../../apis/getapi"
let Xq = {
    state: {
        newnum: "",
        newa: ""
    },
    mutations: {
        upnum(state, payload) {
            state.newnum = payload
        },
        upnewa(state, payload) {
            state.newa = payload
        }
    },
    actions: {
        getaxios(context, payload) {
            getlink(payload.url).then((ok) => {
                console.log(ok.data.hdata);
                context.commit("upnum", ok.data.hdata)
            })
        }
    },
    getters: {

    }
}
export default Xq